package com.yunxi.bizToBaseData.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class AttachReqVO implements Serializable {
    @ApiModelProperty(value = "主键id")
    private String attachId;

    @ApiModelProperty(value = "业务ID")
    private String busId;

    @ApiModelProperty(value = "业务子id")
    private String busSubId;

    @ApiModelProperty(value = "图片路径")
    private String picPath;

    @ApiModelProperty(value = "上传的类型 ：0图片 ，1 文件")
    private String fileType;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;
}
